package com.jnzc.ocr.serv.system.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.Version;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author zhangcm
 * @version 1.0, 2017-10-07
 */
@ApiModel(description = "编号表")
public class SysNo {

	@ApiModelProperty(value = "code")
	@TableId(value = "code", type = IdType.INPUT)
	private String code;
	@ApiModelProperty(value = "累计数")
	private Long count;
	@ApiModelProperty(value = "版本")
	@Version
	private Long version;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Long getCount() {
		return count;
	}

	public void setCount(Long count) {
		this.count = count;
	}

	public Long getVersion() {
		return version;
	}

	public void setVersion(Long version) {
		this.version = version;
	}
}
